import React, { Component } from 'react'
import Breadcrumb from '../base/Breadcrumb'
import { Input } from 'element-react'
import {withRouter} from 'react-router-dom'

class memberIntegralOperate extends Component {
  constructor (props) {
    super(props)
    this.state = {}
  }
  cancel () {}
  submit () {}
  render () {
    return (
      <div className="memberIntegralOperate">
        <Breadcrumb data={['会员', '积分规则', '新增']}/>
        <div className="inputGroup">
          <label className="inputLabel">积分名称：</label>
          <Input placeholder="请输入积分名称" size="small" className="inputSmall"/>
        </div>
        <div className="inputGroup">
          <label className="inputLabel">换算规则：</label>
          <Input placeholder="请输入换算规则" size="small" className="inputSmall"/>
        </div>
        <button type="button" className="btn btn-cancel" onClick={this.cancel.bind(this)}>取消</button>
        <button type="button" className="btn btn-save" onClick={this.submit.bind(this)}>保存</button>
      </div>
    )
  }
}
export default withRouter(memberIntegralOperate)